package com.jxfgyj.dao;

import java.util.List;

import com.jxfgyj.domain.DO.jxfgyj_styleEvaluation;
import com.jxfgyj.domain.DO.jxfgyj_video;

public interface VideoDao {

	public void saveVideo(jxfgyj_video video);

	public List<jxfgyj_video> listVideo(String search);

	public jxfgyj_video getVideo_byID(String video_id);

	public void evaluationVideo(jxfgyj_styleEvaluation styleEvaluation);

	public jxfgyj_styleEvaluation getStyleEvaluation_byVideoAndUser(String video_id, String user_id);

	/*
	 * 删除
	 */
	public void deleteVideo_byID(String video_id);

	public void deleteEvaluation(String styleEvaluation_id);

	public void deleteEvaluation_byVideo(String styleEvaluation_video);

	public void deleteVideo_byTeacher(String teacher_id);

	public List<jxfgyj_video> listVideo_byTeacher(String teacher_id);

	public int getTeacherStatisticsVoteNum(String video_teacher);

	public double getTeacherStatisticsAverage(String video_teacher);

	public int getTeacherStatisticsHudongNum(String video_teacher);

	public int getTeacherStatisticsJiaoshouNum(String video_teacher);

	public int getTeacherStatisticsHunheNum(String video_teacher);

	/*
	 * 
	 */

	/*
	 * 
	 */

}
